import { POST } from '@/services/request.js'

export default {
    ProductIndex(data = {}) {
        return POST({
            url: '/product/index',
            params: data
        })
    },
    ProductType(data = {}) {
        return POST({
            url: '/product/type',
            params: data
        })
    },
    ProductLists(data = {}) {
        return POST({
            url: '/product/lists',
            params: data
        })
    },
    ProductInfo(data = {}) {
        return POST({
            url: '/product/info',
            params: data
        })
    },
    ProductCollect(data = {}) {
        return POST({
            url: '/product/collect',
            params: data
        })
    },
    ProductCancelCollect(data = {}) {
        return POST({
            url: '/product/cancelCollect',
            params: data
        })
    },
    RateInfo(data = {}) {
        return POST({
            url: '/product/rateInfo',
            params: data
        })
    },
    Rank(data = {}) {
        return POST({
            url: '/product/rank',
            params: data
        })
    }
}